package com.mszlu.blog.service;

import com.mszlu.blog.vo.Result;
import com.mszlu.blog.vo.params.CommentParam;

/**
 * @author wfjytd
 * @create 2022-03-09 15:21
 */
public interface CommentsService {

    /**
     * 根据文章ID查询所有的评论
     * @param id
     * @return
     */
    Result commentsByArticleId(Long id);

    Result comment(CommentParam commentParam);
}
